/**********************************************
 * 
 * File Name				:	ISecurityCommand.java
 * 
 * Last Changed Date		: 	$Date: 2009-08-01 11:12:53 +0800 (星期六, 01 八月 2009) $
 * 
 * Last Changed Revision	:	$Revision: 86 $
 * 
 * Last Changed Author		:	$Author: cfanboy $
 * 
 * File Header URL			:	$HeadURL: svn://www.svnhost.cn/Busi-Building/code/branch/src/com/busibuilding/administrate/security/ISecurityCommand.java $
 * 
 * ********************************************
 */

package com.busibuilding.administrate.security;

import com.busibuilding.common.ICommand;

/**
 * Class Name: ISecurityCommand.java
 * Description: Store the SQLMap statement command and error code define relate to Security module
 * @author YU Zhipeng
 * @version 1.0
 * @since 1.0
 * Date: 2009-7-20
 */

public interface ISecurityCommand extends ICommand {
	/**
	 * Tbl_User SQLMap statements
	 */
	public static final String CMD_SQL_MAP_SECURITY_SEARCH_USER_BY_CONDITION = "User.selectUserByCondition";
	public static final String CMD_SQL_MAP_SECURITY_INSERT_USER = "User.insertUserSelective";
	public static final String CMD_SQL_MAP_SECURITY_UPDATE_USER = "User.updateUserByPrimaryKeySelective";
	public static final String CMD_SQL_MAP_SECURITY_DELETE_USER = "User.deleteUserByPrimaryKey";
	public static final String CMD_SQL_MAP_SECURITY_GET_BELONG_TO_USER_MENUS = "User.getBelongToUserMenus";
	
	/**
	 * Sys_LogInfo table SQLMap statements
	 */
	public static final String CMD_SQL_MAP_SECURITY_INSERT_SYSTEM_LOG = "SysLogInfo.insertSysLog";
	public static final String CMD_SQL_MAP_SECURITY_UPDATE_SYSTEM_LOG = "SysLogInfo.updateSysLogByPrimaryKeySelective";
	public static final String CMD_SQL_MAP_SECURITY_DELETE_SYSTEM_LOG = "SysLogInfo.deleteSysLogByCondition";
	public static final String CMD_SQL_MAP_SECURITY_SEARCH_SYSTEM_LOG_BY_CONDITION = "SysLogInfo.selectSysLogsByConditions";
	public static final String CMD_SQL_MAP_SECURITY_SEARCH_SYSTEM_LOG = "SysLogInfo.selectSysLogs";
	
	
	
	
	/**
	 * Error Codes for User management service
	 */
	public static final String SERVICE_ERROR_CODE_SECURITY_CREATE_USER = "1100";
	public static final String SERVICE_ERROR_CODE_SECURITY_UPDATE_USER = "1101";
	public static final String SERVICE_ERROR_CODE_SECURITY_DELETE_USER = "1102";
	public static final String SERVICE_ERROR_CODE_SECURITY_SEARCH_USER = "1103";
	public static final String SERVICE_ERROR_CODE_SECURITY_GET_USER_MENUS = "1104";
	
	/**
	 * Error Codes for system log service
	 */
	public static final String SERVICE_ERROR_CODE_SECURITY_LOG_SYSTEM_LOG = "1120";
	public static final String SERVICE_ERROR_CODE_SECURITY_DELETE_SYSTEM_LOG = "1121";
	public static final String SERVICE_ERROR_CODE_SECURITY_SEARCH_SYSTEM_LOG = "1122";
	public static final String SERVICE_ERROR_CODE_SECURITY_UPDATE_SYSTEM_LOG = "1123";
	
	
	
}

